<?php
	


defined( '_JEXEC' ) or die( 'Restricted access' );

jimport('joomla.application.component.model');

class NBEventMapsModelAccueil extends JModel
{

	
	function getPublishedTabs() {
	
		$config =& JComponentHelper::getParams('com_nbeventmap');

		$tabs = array();

		$onglet = new stdClass();
		$onglet->title = 'Donation';
		$onglet->name = 'Donation';
		$onglet->alert = false;
		$tabs[] = $onglet;

		if ($config->get('nbeventmap_news')) {
			$onglet = new stdClass();
			$onglet->title = 'News';
			$onglet->name = 'News';
			$onglet->alert = false;
			$tabs[] = $onglet;
		}

		return $tabs;
	}




}
?>